/**
 * Copyright 2013 Mr.Hai Mobile Developer. All rights reserved.
 * HAI PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package com.hector.meinewerk.common;

import com.hector.meinewerk.controller.AbstractController;
import com.hector.meinewerk.lib.network.http.HTTPRequest;

/**
 * 
 * action event for app
 * 
 * @author: HaiTC3
 * @version: 1.1
 * @since: 1.0 | Mar 6, 2013
 */
public class ActionEvent {
	public int action;
	public Object modelData;
	public Object viewData;
	public Object userData;
	public Object sender;
	public int tag = 0;

	// HaiTC: xu ly relogin do mat session
	public AbstractController controller;
	// HaiTC: xuy ly cancel request
	public HTTPRequest request;
	// HaiTC: request co block (show progressDialog)
	public boolean isBlockRequest;
	public boolean isRelogin = false; // bien dung de kiem tra chi relogin 1 lan

	public void reset() {
		action = 0;
		modelData = null;
		viewData = null;
		userData = null;
		sender = null;
	}

}
